package com.heima.wemedia.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.heima.model.wemedia.dtos.WmScanDto;
import com.heima.model.wemedia.pojos.WmNews;
import com.heima.model.wemedia.vos.WmNewsVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

/**
* @author 马毅爽
* @description 针对表【wm_news(自媒体图文内容信息表)】的数据库操作Mapper
* @createDate 2023-12-03 20:32:25
* @Entity com.heima.wemedia.domain.WmNews
*/
@Mapper
public interface WmNewsMapper extends BaseMapper<WmNews> {

    Page<WmNewsVo> queryPage(@Param("page")Page<WmNewsVo> p, @Param("dto")WmScanDto dto);

    WmNewsVo getOne(Integer id);
}




